package com.peas.platform.module.icims.budget.project.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.BudgetProjectTwoFileRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.po.BudgetProjectTwoFilePo;
import com.peas.platform.module.icims.budget.project.domain.BudgetProjectTwoFileDomain;
import com.peas.platform.module.icims.budget.project.dto.BudgetProjectTwoFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetProjectTwoFileDomainImpl extends BaseDomainImpl<BudgetProjectTwoFileDto, BudgetProjectTwoFilePo> implements BudgetProjectTwoFileDomain {

    @Resource
    private BudgetProjectTwoFileRepository budgetProjectTwoFileRepository;

    @Override
    public BaseRepository<BudgetProjectTwoFilePo> getMapper() {
        return budgetProjectTwoFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetProjectTwoFilePo>> getRepositoryClass() {
        return BudgetProjectTwoFileRepository.class;
    }

}
